import { createWebHashHistory, createRouter } from 'vue-router'


import Home from '../view/home/index.vue'

const routes = [
    {
        path: '/',
        component: Home
    }, {
        path: '/preview',
        component: () => import('../view/preView/index.vue')
    }, {
        path: '/sign',
        component: () => import('../view/sign/index.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router